package com.citymanage.demo.service.person;
import com.citymanage.demo.mapper.person.PersonMapper;
import com.citymanage.demo.po.person.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class RegisterPersonService {
    @Autowired
    private PersonMapper personMapper;
    public Person select(String account, String password){
        return personMapper.select(account,password);
    }
    public Person register(String account,String password){return personMapper.register(account,password);}
}
